package com.jpa.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Proxy;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author huyunqiang
 * @Description
 * @Date 2022/7/15 15:56
 **/
@Table(name="open_id")
@Entity
@Data
@Proxy(lazy = false)
public class OpenId {
    @Id
    String oldOpenID;
    String newOpenID;
}
